Can variable incidence wings replace ailerons? If a wing can change its incidence angle, can aileron be omitted in the design?

Since aileron are used to increase lift and decrease it. so is the incidence angle.

How would the two solutions compare?
So did the Wrights in their 'Flyer'. It had no ailerons, but the wings could be slightly deformed to roll the plane.

Possibly for constructive reasons, ailerons are almost always used today for roll control (spoilers are sometimes used in very light planes) but the Wrights' method was more elegant...