Yes, those are internal components of a scanner. The presence of a scanner motor and CCFL indicates that it is indeed part of a scanner assembly.
When searching for printer parts, it’s important to use the exact terminology provided by the manufacturer. Referring to a service manual or parts...