Developer Fee on Safemoon Clone

I am trying to learn with a Safemoon clone and and want to know if I can add a developer fee that sends to a BNB wallet.