In a saucepan, combine the heavy cream, whole milk, granulated sugar, dried lavender buds, and a pinch of salt. Heat the mixture over medium heat, stirring occasionally, until it begins to simmer. Remove from heat.
In a mixing bowl, whisk the egg yolks until smooth. Slowly pour a small amount of the hot cream mixture into the egg yolks, whisking constantly, to temper the eggs.
Gradually pour the tempered egg mixture back into the saucepan with the remaining cream mixture, whisking continuously.
Return the saucepan to the stove over medium heat. Cook the mixture, stirring constantly, until it thickens slightly and coats the back of a spoon, about 5-7 minutes. Do not let it boil.
Remove the saucepan from heat and strain the mixture through a fine mesh strainer or cheesecloth to remove the lavender buds. Discard the lavender.
Stir in the vanilla extract and cannabis-infused coconut oil or CBD oil until well combined.
Transfer the mixture to a clean mixing bowl and cover with plastic wrap, pressing it directly onto the surface of the mixture to prevent a skin from forming.
Chill the mixture in the refrigerator for at least 4 hours or overnight until completely cold.
Once chilled, pour the mixture into an ice cream maker and churn according to the manufacturer's instructions until it reaches a soft-serve consistency.
Transfer the churned ice cream to a freezer-safe container and freeze for an additional 2-3 hours, or until firm.
Serve your Cannabis-Infused Lavender Vanilla Ice Cream and enjoy your sweet dreams!