I don't think this is implicitly against the TOS, but there's no way to say how the GMs will interpret the actions. Typically the way people transfer gil like this is to buy Allagan pieces and clear demis from the MB, understanding you may take a small hit in your total, and sell them once you've completed the transfer.