Yes, you can use a quartz banger with most types of dab rigs, as long as the joint size and type match your rig's joint parameters. Quartz bangers come in various sizes, such as 10mm, 14mm, and 18mm, and can have either male or female joints.
To ensure a perfect, snug fit and avoid air leaks, make sure the banger's joint size and type are compatible with your rig's joint.