Changing armor during combat should definitely not be allowed since you'd need several minutes to don an armor. Magic pockets shouldn't work during combat either.

But weapon switching should remain untouched, at least for your equipped weapon sets.