No, you should not give cardboard tubes to your guinea pig.
Risks of Cardboard Tubes
Guinea pigs may chew and ingest cardboard, causing digestive blockages or injury. Sharp edges can cut their mouths or digestive tracts, and inks or chemicals on some tubes may be toxic.
Safe Alternatives
Plain paper tubes, hardwood chews like apple or willow branches, hay racks, and enrichment items such as tunnels and hideaways are safer options. Always supervise your guinea pig with new toys.