Assign variables as array of matrices in JuMP

Yes, you could go

x = [@variable(model, [1:2, 1:2]) for i = 1:3]