No, it is intentionally not allowed to pause and resume, to prevent “pausebuffering” exploits.
However, if you are in a “safe” place and not just pausebuffering, you should be able to alt-tab out of the game which will also pause everything (but if you do that within a tight platforming section, you’ll likely be unable to press buttons in time and fall down).