Default config change

hello,

i want to create a default config , so the mikrotik get’s it from a server and paste this config over hes default config , is this possible?
i know the part where it get’s the config is possible , but can i replace my default config with it?

Use tr069 and/or flashfig.