There is one big disadvantage - and that's if airline A changes or cancels your flight and you are left with a useless flight with the other company.
But I've done it for day trips where airline A flies out early in the morning but airline B has evening flights