Yes, it's ok for an 8 year old to play video games and electronic toys that are appropriate for her age. However, these types of toys are considered passive learning styles because they do not help a young girl become physically engaged. They can gain weight because they are inactive while playing or they can suffer from hearing loss due to loud electronic toys. Toys that only require a child to not do anything but watch can interfere with children's ability ] to think independently. This doesn't mean that you shouldn't allow your daughter to play with these toys at all but that they should be allowed to do it in moderation.
We live in an electronic age, and assuming that anyone can keep a kid away from a computer is farfetched. But what we can do is help them learn how to healthily live around a personal computer and other electronics. A good step one is to purchase video games and electronics that are age-appropriate. Another important step is to limit screen time to one to two hours per day.