Sanji wants to protect others, that's like the main point of his character, he obviously will get stronger for the sake of someone else since his will to protect others is way too stronk, the thriller bark moment proves it, the dude was barely alive yet still stood up and asked to be taken as a sacrifice so zoro and luffy could accomplish their dream