Can my undergraduate research thesis be published in a scientific paper? If so, how should I go?
If your work is good enough, it deserves to be published. It doesn't matter if it is the result of a hobby, undergraduate studies, or your main job as a researcher.

Summarizing it to make it fit into the space allotted in a journal or conference proceedings will be a daunting task, ask your advisor for guidance and help.