Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Yes, this has been done and in fact there is an award for undergraduate mathematics research the Frank and Brennie Morgan Prize for Outstanding Research in Mathematics by an Undergraduate Student