Suppose I have 3 cubic bezier curves a,b,c. Each of it was continuous from a to b and b to c at the endpoint of previous and starting point of next, both position and tangent. It is smooth curve
Then those 3 curves suddenly look like it is actually one polynomial of some degree
Is it always been a polynomial curve? And if it is then are there easy way to find out 1 polynomial function merged from those 3 cubic functions, or any number of cubic functions merged this way?
Let's just deal with the case of two curves, $A$ and $B$.
It might be possible to represent the combined curve as a single cubic, or it might not. If $A$ and $B$ were designed independently, it's highly unlikely that they will be joinable in this way. But some design systems have a function for splitting a curve into several pieces, and if $A$ and $B$ were produced by this sort of splitting process, then it will be possible to join them back together into a single cubic.
If the joined curve can't be represented as a single cubic, then it can't be represented by a single polynomial curve of higher degree, either. In other words, increasing degree doesn't help.
Your question was "is joining always possible?". The answer is no.
A related question could be "is it sometimes possible?" The answer is yes.
I don't know if you're interested in the "sometimes" question. If you are, leave a comment, and I will supply more details.
There are several approaches to the "sometimes" question. One simple technique is to compute derivatives of orders one, two, and three of each curve at the common end-point. If these derivatives are all equal, then the two cubics are the same, and can be joined into one. Just having the same tangent or the same first derivative is not enough.