Yes. Quotes only protect spaces from becoming word separators. You can have them in any place. So these are all equivalent as long as a and b don't contain spaces:
ab
"a"b
"a""b"
a"b"
a"$var"b
a${var}b
I suggest to use "a${var}b", though since the other forms look confusing.