Yes, you can. In terms of replacement power sources requirements are:
- the voltage must match is made, you and there and there is 5 volts
- the power supply must be greater than or equal to the power of the consumer.
Power is calculated as the product of the current (Amps) voltage (volts). As the voltage is matched, it is permissible to connect any power source, issuing 0.5 A or more.
There is also a third option to stabilize the voltage. So in this case we are dealing with USB, the stabilizer is present in both food sources, so this is no problem.
I brought the General conditions. For devices with the USB connection (not including OTG) rules are:
USB can provide at least 0.5 A (USB-OTG - 0.15 A)
In order to get more, the device needs to "negotiate" with the host. In the USB3.0, for example, it should indicate its energy efficiency class. In the Junior standards are applied various tricks with resistors and the like - so the charger could tell the consumer that he can give more than the standard 0.5 A. otherwise, the device should not take more than 0.5 A
That is why, if you confuse the chargers from smartphones, they can start to charge more slowly or not at all charged, even if the current is stated on the charger, meets.