Is there a way to implement a physics engine?

I’m new to haxe and to heaps and, I’d like to know if it’s possible to implement something like https://github.com/JohnSword/liquidfunx as a physics engine in Heaps.io

Nothing stops you from implementing your custom physics engine