A boxer 4, yes. Have they done this before, no.
Personally, I'm not very happy with that choice. But, looking at it from a performance standpoint, the weight will be much lower biased which will be better in a lot of aspects.
If you aren't aware, the reason they've done this is because Toyota is nearly a 20% shareholder in Fuji Heavy Industries(Subaru) stake.