No. You can make compost out of your vegetable scraps and use the compost in your potting mix, but ferns prefer a soil-free medium to grow in.