Absolutely positively wrong. There are primary framing members in a roof. They could be rafters, trusses, or any other kind of structure, such as in steel buildings. Sometimes, especially in commercial buildings, they are widely spaced, perhaps in the order of 25 feet in steel structures. Obviously no decking can span that distance. So, in that case, secondary framing members are introduced, running perpendicular to the primary members, and these are called purlins. Purlins reduce the spans required for decking. When repetitive primary members such as rafters or trusses need intermediate support, a girder is introduced. The definition of girder is a beam which supports several other members. Rafters, joists, and girders are all beams. Any structural member which spans a distance is a beam.
It would be the rare master carpenter who could calculate the loads on a structure and design beams or girders to support those loads. With the splice in the rafters, a girder is necessary to carry the two end loads of the rafter sections. That 2x4 on the flat isn’t even close to enough to do so. If there is a load-bearing wall directly beneath the splices, then a row of studs with spacing no greater than the rafter spacing could carry the loads, but then, a double top plate would be normal. And that is provided that the roof load was designed into whatever supports the load-bearing wall at the lowest level. If the original rafter design did not call for the splice, then the structure below was probably not designed to take roof load at that location.
See why an architect or structural engineer is needed?