Creating UI for Figma Plugin

No, you can have a map of html files and then call the desired html. Read more here: __uiFiles__.