NO, that's not right. If they turn green you shouldn't eat them. If they sprout in darkness, so the sprouts are white, just pluck the sprouts off and peel like normal.
You're right I misremebered it. We usually grow our own potatatoes and there are already some green ones in there so I wrongly presumed it was only during growth
Also probably taste bitter and nasty, I once tried to eat a potato berry when I was younger and before I knew they weren't edible and it tasted awful. Don't judge me I was 5 and didn't know any better, but I definitely know better now.