Sure! Here's a sample game using JavaScript that can be played as a game similar to Stumble Guys. As you requested, it is implemented as a single HTML file enclosed in script tags:
Note that this is a very basic game loop using the canvas element and keyboard input. You can modify and enhance it further based on your specific game requirements, such as adding obstacles, enemies, levels, scoring, etc.