Can a self-published paper be used as a graduation thesis?
Do you mean to publish it in a magazine after it is published in school? If so, this is a special situation, but as long as your article has not appeared on the Internet and the author is yourself, it is no problem for you to publish it in the journal again, but if your article is online, it can't be published again.
For detailed consultation, please see this picture and add me.