I went through this exact process last year. You can get a temporary residence permit if you invest a certain amount, but it is definitely not a shortcut to permanent residency right away. Make sure you read a good
Buying Property in Bulgaria as a Foreigner: Step-by-Step Guide and Common Pitfalls before putting down any deposits.