Yes, all the sentences you provided are grammatically correct. They all follow a similar sentence structure of "What [person] [verb] [complement]." In each sentence, the word "what" is used to introduce a noun clause that functions as the subject or object of the sentence. The verb and complement following "what" provide additional information about that noun clause.