it is beatable. You just have to push the crate past the switch, jump over it, then push it back.
I did that but it didn't help me kill both ghosts, one always got me, tried 2 times the bottom one and one time the top one first