Yes you can, and I know at least one gardener' that does do this, Longy, he lives in Austrailia..
*I'll see if he's on shore and be able to give you some helpful pointers..
I have seen this method done, in several books and shows I've watched...
You will have to replace the straw from season to season, as it breaks down, but it's wonderful and you can then add it to the commost bins, till it in in the fall time, or even, drum rolllllllllll,
plant tomotoes in it the next year... yes, you read right, I've read where they take a "seasoned" straw bale and slice out two holes, *I think if I did it, I'd do one, but they did two, your choice* and they kinda thru in a mixed medium of compost, potting soil, peat, etc. and kinda rubbed in in the hole, shook it so it went into the cracks a wee~bit and then planted a tomato
plant..
*oh, and put a piece of rebar I believe into the bale down into the ground to hold it steady and give support to the tomato
plant...
But yes, it's a great way to do a garden...
*and if you do it, would you please keep us informed

..