I'm considering building raised beds for a small garden. 2x4x10 feet and I am looking to use 2x10 for panel construction. I know I shouldn't use PT lumber, so if I line the inside with plastic poly and paint the bottom and outside, would I get a few years out of it?

Yes I know they are planted too close together, although it doesn't seem to be affecting them. We tried to cram too much stuff in there. Debating building another bed or moving the herbs into planters on the deck next year to make more room.