Straw, while more insulating than hay, is not suitable as a piggy bedding as it tends to be too spiky and can cause injury. It also contains no nutrition so while it won’t harm then if they eat it, it isn’t providing anything beneficial to them.
Hay is best all round