Run JS code

Hi, I got and JS code that I want to run 24/7. Mine Raspberry PI is looking perfect for this task. However I would like to know, is there any way to run a JS code in HAOS, in docker or something?

Thank in advance.