Yes, it is possible.
If you're code in in the live script (.mlx), go to:
- Live Script → Save → Export to HTML
If your code is in the script (.m), go to:
- Publish
See attached example (published from the live script), unfortunately as a picture as it is forbidden to attach the html files here.
Also, check out: