Fine in Scotland in my experience if the closing date and time for offers are identical. Happened to me, I had asked in advance if it was okay to have two offers in play and my solicitor said yes. Both offers were accepted and I declined one of them (within about an hour, mind).
You're fine so long as you're not in Scotland