Can I fit a SRAM DUB crankset on a frame with a BSA threaded shell?
Yes. DUB is a spindle standard (28.99 mm), not a shell standard. A DUB bottom bracket exists for BSA: you fit the DUB crankset using the DUB-BSA bottom bracket. The same applies to PF86/92, PF30, BB30 and T47 with the corresponding DUB cup.
Standards involved
Find the right part
Search for the compatible component (search link; affiliate links will be wired in at launch).
Search on AmazonRelated questions
Source: SRAM. Indicative data — always check the manufacturer's official specs.