No. A block that includes a double-spend is invalid and as such will be discarded by the other nodes. (both mining and non-mining nodes)
Edit: If I recall correctly a misusage of this function is what caused vulnerability CVE-2018–17144, which would have potentially allowed for double-spend attacks the way you described.