Towards Decentralized and Sustainable Foundation Model Training with the Edge