Add an extraSell fee

hi
is it possible to add fee when selling token ?
for instance
buy :
uint256 public liquidityFee = 2;
uint256 public marketingFee = 3;

sell :
uint256 public liquidityFee = 3;
uint256 public marketingFee = 4;

how to integrate this in the code ? thanks

Yes, it is totally possible