Hello!
If it's a purely 2D platformer then yes everything must be done in pixel art. There might be some exceptions when it comes to small details like UI or maybe the title screen but generally if you're doing 2D then yes pixel art is required.