I'd recommend you do more research first if you're asking these kinds of questions.
Yes, a ROM test is risky - especially on a valued tamagotchi - but any kind of thing like this that involves taking the tama apart has risks so... maybe you need to be sure about actually doing a test before you...