Yes, but please keep in mind that doing what’s right and behaving yourself isn’t being a suck up. Constantly being nice to the teacher is. Your profile picture is a good innuendo of what a suck up is. Also, I don’t mean to be rude, but your lexicon is quite bad.
Someone who “sucks up” to the teacher. Being annoyingly and unnecessarily nice to them. The teacher rewards them. More colloquially known as “Teacher’s Pet”.
“We HOE” 1997 Migos.