You can do it in sleeping position but it is good to give in siting or semi sleep position like slanting position. That is because sometime in sleeping position mother sleeps while giving milk and child will be unattended.
Next Steps
Child should be in slanting position, child head and chest should be at 30-40 degree angle. And do atleast 10-15 burping after each feeding.