It’s 2022. Can the Government Really Police Legal Sexual Behavior?

Can the government legally justify using legal sexual proclivities or interests against a clearance holder as a national security issue?