It is possible to install crown molding on uneven walls, but it will not conform to wall.

If the walls are not too uneven, gap between wall and molding can be filled with caulking before...