So the bottom line is that yes you can put an area rug over wall to wall carpet.
How to get rugs to lay flat on carpet.
If the ends still curl up move to the next steps.
Take a wet towel and moisten the areas where the carpet is curling.
Lay a damp towel over the edges and iron them flat.
Turn over the rug with the right side down.
However for rugs that are nowhere near furniture in the center of a hallway or foyer for example the carpet to carpet non slip pad is your best option for preventing ripples in your area rug.
Many times this will allow the rug to lay smooth for a while.
With the towel still covering the carpeted area hold down the iron and press.
Cut tape to fit each edge of the rug.
Double sided tape could be used in place of the carpet tape.
Apply the tape to the edges of rug.
This should flatten the areas out.