I am in two minds abou this so I'll explain both!!
1 - at this stage in your life (she's only 3 weeks old!!) I would do ANYTHING that gives her and you some sleep!!! Most mums would agree that the first 6 weeks are the hardest and you need to get by and if that give you some relief then go for it! BTW - sorry to anyone who disagrees and says it gets harder - I'm not there yet!!
2 - my health nurse said, and I tend to agree, that if you don't put them in their beds (cot or bassinette) to sleep then they won't get used to self-settling and won't have proper sleeps. Also rocking is great and I certainly do it though mostly when away from home. The problem is they can get used to that too much and then you might have to rock them for a long time.
When we were having trouble with DD sleeping at about 6 weeks we read a few books and we made sure that before put her down she was fed, burped and changed and showing tired signs. When we put her down we let her protest (not scream) for a bout 5 mins then go back to her an comfort her. We usually only had to do it once or twice and it worked.
Anyway just a tip but it may not work for you and the one rule I do listen to is "DO WHAT IS RIGHT FOR YOU AND YOUR BABY!!" Best wishes!
Bookmarks