Amazon Alexa use privacy respecituve?

Just I thought, but what about an internal network without a connection to the outside?
After I set up all thing I just simply block the connection to the outside (for the alexa ofc). So it could communicate with the lights, but not with a cloud. Would this work?