Yes. This sentence is gramatically correct.
Yes. This is an example of a correct Passive Voice sentence. In such sentences subject is not the person who did something but rather an object of an action (in this example a cup of tea). The doer may be (here is) indicated using the preposition "by".