It’s mostly probably unsafe.
My Grandpa used to eat raw ground beef and raw onions. I’m pretty sure the beef came from his family farm though.
I think beef is the safest to eat raw/undercooked but I wouldn’t advise it.