I don't know the platform search component that well.
I gather this is about the publish environment - so I'm guessing the platform search will limit itself to the site's content tree. UGC would not be found there. So, my guess is the answer is No. Wouldn't take much to try it out. 😉