By - justbecauseandstuff
Need more info, but yes. You can use Cognito or a Lambda as an Authorizer for your API. With a Lambda Authorizer, you can define what the logic is to validate the JWT provided to the Lambda in order to give access to the API.
Use HTTP API?