Yeah, it's 'do-able', but you can't really make details that sharp or clean in foam.
There's a thread here with someones results
https://www.therpf.com/showthread.php?t=157270
(And a fair few more attempts if you do a google image search for 'Power Rangers Helmet EVA Foam) in total honestly though, sculpt in clay then fibgreglass is where you want to be if you're looking at a well finished ranger helmet.