Yes, two ways in.
The LEGO Pirates of the Caribbean game covers the first film among its story content and is available across most major platforms. Separately, there was a Game Boy Advance release tied directly to the original movie.
If you want the film's plot played straight, the GBA title is the closer adaptation; the LEGO version is the better game.