You can play around with a solenoid calculator like this one: https://www.getzenquery.com/tools/solenoid-force-calculator/
TLDR; is that you need high current, meaning a lot of ohmic heating. With non-negligible back-EMF resulting in even more losses. Rotating motors essentially "lengthen" the travel of the "plunger" compared to linear motors.