Interesting idea for a platformer. Easy to cheese and win the game by hugging the walls and then jumping. The second platform seemed impossible, but I managed to wallhug and then defeat the enemies and win the game. You can use PhysicsMaterial2D to fix the wallhugging issue and for jumping use raycast (to allow jumping again)