Is it possible to define Template ID at runtime

Is it possible to define the following XXX and YYY the first time the program runs after wifi connection?
#define BLYNK_TEMPLATE_ID “XXX”
#define BLYNK_DEVICE_NAME “YYY”

This is so that i could release the binary firmware without needing to release the source code and anyone who wants to use it can just assign the template id using the app at runtime.

Hello. Do you need that for commercial use? Or do you just want to share the tutorial?