Prefab means less waste, so yes, prefabs are environmentally friendly. Prefab manufacturing means far less material waste than traditional building styles due to the reduced risk of damage caused by natural materials or from an unused surplus.
Also, prefab materials are kept in factories instead of construction sites, so they're less likely to be stolen, vandalized, or damaged.