Add <script> tag to HTML and edit it

Hi,

Is it possible to add script tags to the HTML or only script files?
I want to add a script tag and then edit it inline inside my code. For whatever reason - I don’t want to do it in a seperate js file. Is this possible? How?

Thanks