Oh yes you can!
Many think that green manure is just for using in vegetable plots/allotments. No, not at all. Any spare soil allows you to sow and grow green manure.
Of course, you are not limited to just Phacelia in raised beds...there are many other green manure options available depending on your needs. Have a read of our sowing guide [here]