Hello,
I don't know if it's possible because Carbon create a date and you have only a time.
If you look at the example below ...
$datetime = Carbon::createFromFormat('Y-m-d H:i:s.u', '2019-02-01 03:45:27.612584');
... you can try to adapt it to your problem.
$datetime = Carbon::createFromFormat('Y-m-d H:i AM', '2021-04-21 02:48 AM');
I don't have tested, perhaps you will have a problem with the AM.