Mix 10 drops of essential oil with a cup of baking soda and sprinkle it on the carpet. Let it sit overnight and vacuum it up in the morning.
Corn starch. Work it in on the second application and vacuum with a shop vac.
You certainly can and here is how! Best wishes!