No you should never put raw garlic into olive oil.
When making garlic infused olive oil you need to heat up the garlic first to kill any bacteria and botulinum spores that may be present in the raw garlic.
Heating the garlic up kills the bacteria and botulinum spores so that it does not make you sick.
So never put any raw garlic into the olive oil or it could make you sick.
Always take the time to heat up the garlic and cook the garlic to kill the spores and bacteria before adding it to the olive oil.
It's also recommended to use dried garlic spices, and herbs to make infused olive oil.