Selecting a curve by its name with a Python script
Yes its possible.

This is an excerpt from an older, non latest version of Blender script.  The relevant part may still work. Note the find function.  You can see the name of the curve in the FCurves Editor Panel.  Note curves may have an index X in the set [0,1,2].

object_bq = bpy.data.objects[name]
test = object_bq.animation_data.action if (None != object_bq.animation_data and (None != object_bq.animation_data.action)) else None;
if (test):
    fc = object_bq.animation_data.action.fcurves.find("Some Curve Name Visible in the FCurves Editor Panel");


fcurves.find

https://docs.blender.org/api/current/bpy.types.ActionFCurves.html?highlight=fcurves%20find#bpy.types.ActionFCurves.find