Yes, you can use a dictionary instead of a map object if it fits your use case. Dictionaries are subscriptable objects, so you can access their elements using square brackets. However, dictionaries are not ordered like map objects, so if order is important to your program, a map object may be a better choice.