That's exactly what Semblance is all about. It's a puzzler/platformer by South African studio Nyamakop and it's coming later this year to Nintendo's Switch.
You have to check the trailer below because the possibility offered by these mechanics is quite interesting and could make for some head scratching moments:
I can't wait to see more of it and the Switch seems like the perfect console to play it. We'll let you know when we hear more about it.