is a ( ' ) mark allowed right beside quotation marks ( " ) when quoting text?

like when you are quoting something with dialogue at the beginning or end of the quote

would it be like " Bob mumbled 'Im sorry'"​