Employers have the right to fire you citing any specific reason including finding out about an employee having an OnlyFans account. The explicit content of the account may be against the norms of the company which could get you fired.