Tea is probably not archival for the paper substrate but the tannic acid is considered to be a useful hardener for the gelatin emulsion. No worse than alum, possibly better.

I've gotten some nice colors using coffee or tea on fiber prints but it looks awful on the RC prints I've tested. Looks like a dog peed on the prints.