Yes, It is absolutely used correctly.
He knows that ob has more power over him
Answer:
Josue woke up with a raspy couch, yet he still came to school.
Explanation:
The 2 parts of the sentence are linked, but contrast each other. So, yet should have a comma before it.