A COMPROMISE deal that would legalise gay marriage in Scotland but ban the ceremonies from being held in churches is being considered by the Scottish Government, Scotland on Sunday has learned.