Its defenetly a great starter.
I would suggest you learn to how create a start menu to learn how to handle scenes better.
Then you can add win/lose/pause etc.
Also, note (for the future) that collision box (with walls/ground) is usually pixel-precise so thew character doesnt float, while the hitbox (hurtbox) is usually smaller than the player sprite itself.