It can be quite sharp if chewed. The Germans won't use anything plastic in their cages
Except for wodent wheels which apparently are made of a special hamster safe plastic if chewed. A lot of hamster toys are plastic - but lego I think could be quite sharp or brittle if chewed. For ramps some people have stuck lolly sticks or dowels onto a ramp to give it some footholds for climbing.