Yes, but great actors elevate their material.
Yes, a great actor can overcome a lousy script, often by rewriting their own, or ad libing.