Yes, those examples are fine. Note that they aer only part of the interjection. Interjections can be phrasal: Oh, my stars and garters! If the second part weren't there, they would want exclamation points: Oh! Ah! Yeah! (that is, if they were exclamatory. They can also be used for other emotions: Oh...ahh...yeah......