@madebymt,
I’ve done that before. Something to be cautious of is that the visual editor can remove certain things, so at that time I changed my user settings to just use the code editor view for pages.
As far as keeping things organized…
Perhaps use codepen? https://blog.codepen.io/documentation/features/wordpress-plugin/
This CSS plugin looks neat: https://www.ads-software.com/plugins/css-plus/
I quickly modified the css-plus.php
of that plugin to also allow for JS… (caveat emptor: I’ve not tested it aside from just using it.., I don’t have any involvement with the authors, etc etc..)
https://gist.github.com/anonymous/83d1c98eb12f177f3e815f50a641ca4b
Cheers,
G