I also agree, with my reasoning being assuming you're using a heat gun (or anything meant to reach the same levels of heat) those are actually made specifically for paint stripping. So I'd worry about all your paint melting or flaking off if you painted it first then heated it to shape it. Maybe that's not an issue with foam but just something I've been thinking about as I've been working on my own foam armor.
KuroNekoCon-many years ago, '11 : Radcon-'12 : Akicon-'13 : Sakuracon-'13, '14, '15, '16, '17 : PAX West-'11, '12, '13, '14, '15, '16 : Rainfurrest '15 : ChibiChibiCon '17
Wicke (Pokémon Sun and Moon)