I have been fighting growing tree peonies for years. Of 12 or more cheapish plants at least 50% have died.
I have tried in the bed and in very large pots. Last year I got 2 flowers from 8 plants which are 3-4 years old.
I think the secret is sun, out of the wind, a deep hole and well drained...