It is generally not recommended to keep sucker fish with bettas. Bettas are territorial and may nip the long fins of sucker fish. The two species also compete for food and space, and sucker fish produce significant waste that can harm water quality for sensitive bettas.
Keeping them in separate tanks is the safest option.