if "directly from the teats" you mean you milk them while you have your mouth open underneath it? then yes theoreticaly. If you mean to suck at them to milk them.. thats.. ill advised..(i have to specifiy booth variations, this is the internet afterall)
but YES theoreticaly you can drink milk straight from the teats, and if the cow is healthy, it was properly milked, and the feed was good there is a decent chance you wont get sick of it. HOWEVER its as i said still ill advised as raw milk can have some SERIOS pathogens attached to it like tubercolosis.
Infact, a good ammount of cheese is made from raw milk(thus unpastorized milk) like aged gouda, (altough in that case aging kills of most of the pathogens instead)
One saving grace here is that she poors it into a freshly made cup of tea, assuming she boiled the water freshly, and let it sit for a minute (technicaly 15 seconds, but the milk must get warm as well so say a minute) WITH the milk in it, the milk is effectivly pasteurized(yes pasteurizing only takes around 15 at relativly low temperatures(iirc standard cow milk is pasteurized at around 70°C, in the EU its also allowed to treat milk to above 50C and call it "heat treated" which is basicly identicaly to pasteurized in all but name) the bigger problem is that i did not saw her filter the milk, as raw milk contains certain parts that are rather unwanted in milk used in tea from what i remember