It is generally not recommended to keep bettas with guppies. Male bettas are aggressive and may attack or fin-nip guppies. Water parameters also differ slightly. A very large tank with hiding places and a peaceful betta might work, but there is always risk. Safer options include keeping bettas alone or with compatible species like snails, shrimp, or small tetras.