Yes, baking soda can be used to get rid of carpet beetles. Sprinkle baking soda on carpets and furniture to absorb the oils and odors that attract them. Vacuum the area after a couple of hours, or leave it overnight if possible. This should help keep any adult beetles from laying their eggs in your home.