Yes and yes. Read the install instructions concerning setting a custom STORAGE_ROOT location.
Advanced: To change the default location where Mail-in-a-Box stores all of its data, you can set an environment variable named ‘STORAGE_ROOT’ before running the setup script.