I tried it and there is a something you need to know.
If you want to export scenes in asset bundles, you need to embed the UIAtlases your scene is using in the scene as prefabs.
If you want to export atlases, just export them as you will do with any asset.