If you elevate your feet while lying on floor, will that hurt your back?

Should be fine. You'll likely be working your abdominal muscles more than anything. With any new exercise or stretch, start at low intensity and go slow. If you're in a lot of pain... Stop.