My first ever game was actually built around this idea, check it out if you're interested
https://evitrea.itch.io/dynamic-scaling-platformer