Can you replace a real eye with a glass one?

i have a lazy eye and also my eye twitches ALL the time. it doesn’t bother me because i can’t really see out of that eye, but i have a serious problem looking people in the eyes because they always stare at that one eye. then i get nervous and i always look everywhere except in the persons eyes when i am talking to them. i am VERY selfconscience about it and i don’t even like meeting new people because of it. i heard you can get a glass eye if you lose your eye in an accident but can they cut your real eye out and replace it with a glass eye? i know thats a lot to think about but i was just wondering if it is possible.