There's a discussion just starting now about whether user code should be able to run at bootup even without internet.
So the issue for now would be, you need to 1st connect to internet before the code starts running. If you get disconnected after, it's fine. The code still run.
But if you don't mind compiling and coding locally, there's no issue on this. You can use some code to change the behavior. Details here: