Specific Dex on bnbchain

Job ID: 35597074

Budget: €250 – €750 EUR

I already have a dex that uses pancakeswap's API but I would like to know if it's possible to place our own smart contract to collect fees on top of pancakeswap just before the client swaps with pancakeswap in the idea the path would be this : Swap client > uses our smart contract (pays mini fees > pancakeswap api > the client receives his crypto swaper