This is exactly what we do haha. Works great. We also have a collapsible 5 gallon bucket which makes packing it easy.
Something like this:
https://www.amazon.com/AUTODECO-Collapsible-Container-Travelling-Backpacking/dp/B08BYN8DL4/ref=sr_1_5?keywords=collapsible+5+gallon+bucket&qid=1649425281&sr=8-5