I am using ScriptUI for the first time and would like to create a custom palette with several text boxes and buttons that can be conveniently docked into the Photoshop UI.
Can this be accomplished using a script?
That shouldn't be possible. Only thing you can do is set type of window. Some type of window block interaction with Photoshop and some not. It won't be dockable. For dockable palete you need to create HTML panel and that is a lot of work.