Start Couchbase Lite in Offline mode then at some point go live to sync?

In my current app I have a need to have Couchbase Lite for iOS or Android to start in Offline mode and store all data locally on each device.

If the user decides to do an In-App-Purchase to enable Cloud Sync across devices then I would like to enable it and start syncing devices.

Is this possible with Couchbase Lite for iOS or Android?

Thank you.