Would it be possible for someone like myself to create an HTML5 game that essentially replicates act 2 of INSCRYPTION?
Sure! Godot is a good engine to start with, and you can always reference this game's source code.