Sure! Here's a simplified implementation of a Pac-Man game as a single HTML file using JavaScript:
In this implementation, Pac-Man is represented as a yellow circle, and the pac-dots are represented as white dots on the game board. The player can move Pac-Man using arrow keys, and when Pac-Man collides with a pac-dot, it disappears.
Please note that this is a very basic implementation, and you can extend it further to include ghosts, levels, scoring, and more.