Why is it impossible? This is a non realistic problem that has no friction on the table.
The block slides down, producing an acceleration of the ramp to the left, while the block accelerates to the right.
Of course, if the block does not slide down, then there is friction between the block and...