can I use a fantasy console like tic-80 but with using js for the game jam?
Sure, as long as the output is playable in the browser then you can use it.